<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<head>
<link rel="stylesheet" type="text/css" href="<%=basePath%>images/themes/default/easyui.css" />
<link rel="stylesheet" type="text/css" href="<%=basePath%>images/themes/icon.css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="<%=basePath%>js/jquery-1.8.0.min.js" charset="utf-8"></script>
<script type="text/javascript" src="<%=basePath%>js/jquery.easyui.min.js" charset="utf-8"></script>
<script type="text/javascript">
	//保存
	function save(){
		if(!$('#form').form('validate')){
			return;
		}
		
		$('#form').submit();
	}
</script>
</head>
<body>
	<div><font color="red">${error}</font></div>
		<form id="form" action="" method="post">
			<table>
				<tr>
					<td>用户名:</td>
					<td>
					<input class="easyui-validatebox" id="name" name="username" data-options="required:true">
					<font color="red">*</font>
					</td>
				</tr>
				<tr>
					<td>密码:</td>
					<td>
					<input class="easyui-validatebox" id="psw" name="password" data-options="required:true">
					<font color="red">*</font>
					</td>
				</tr>
				<tr>
					<td>记住我:</td>
					<td>
					<input type="checkbox" name="rememberMe" value="true">
					</td>
				</tr>
			</table>
			<div id="bb">
				<input type="submit" class="easyui-linkbutton" value="登录" />
			</div>
		</form>
</body>
</html>